Index

Programming

Imperative view of Monads

Regex as a Monad

Games

Shunt

Confused Carols

+・

Hope Descending

Pong in the Dark

Compoundle

HoloYacht

Mixed Music

Vlajorne

Triptych

Mifra

Tools

MangaDex Viewer

Hololive Music Lookup

Riichi/Dora Mahjong

Quick Notes

English Configuration Options

The file "config.txt" contains options to use English text.

To include English indices on the tiles, change the line:

    tileset=blue

to

    tileset=blue-en

To use English text for the buttons and yaku, change the lines

    ui-text=romanji
    yaku-text=romanji
    action-text=romanji

to

    ui-text=en
    action-text=en
    yaku-text=en

Rules

A simplified ruleset is included with this documentation.

For more complete rules try Tom Sloper or Mahjong Wiki.

Manual

The program opens to the main menu with the following options.

Start Game

Begins a new game with the default options.

Setup Game

Begins a new game with custom rules.

View Replay

Load to replay file to examine a previously played hand.

Sandbox

Construct hands to see waits, scoring or best discard.

Mahjong Squares

Begins a new game of mahjong squares.

Known Bugs & Enhancements

The end-of-round screen should show honba & riichi payments.

Some han/fu scoring values are incorrectly computed.

Sometimes the wrong tile is horizontal in a Kan meld.

UI should indicate when a rule (e.g. furiten) prevents an otherwise legal action from being taken.

Forming a Kan with the final tile in the wall crashes the game.